#pragma once
class SSEExample2
{
public:
	SSEExample2(void);
	~SSEExample2(void);
	CString example1(CImage m_image);
	CString example2(int i,int j,int k);
	CString example3(double a,double b,int n);
	__int64 GetTimeNoOpt(void);
	__int64 GetTimeOpt(void);

private:
	double *a, *b, *c;
	int i,j,k;
	void Init(CImage m_image);
	CImage image;
	void CPlusPlus(BYTE* pSource,BYTE* pDest,int nNumberOfPixels);
	void SSE(BYTE* pSource,BYTE* pDest,int nNumberOfPixels);
	void mul_CPlusPlus();
	void mul_SSE();
	double calka_CPlusPlus(double p,int n);
	double calka_SSE(double p,int n);
	BYTE* m_pImageBits;
	BYTE* m_pInitialImage;
	__int64 TimeNoOpt;
	__int64 TimeOpt;


};

